package com.py.inbound.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 销售退货对象 od_sale_rejected
 * 
 * @author 童佳
 * @date 2024-12-12
 */
public class OdSaleRejected extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号  */
    @Excel(name = "序号 ")
    private Integer srId;

    /** 退货单号 */
    @Excel(name = "退货单号")
    private String srCode;

    /** 单据状态 */
    @Excel(name = "单据状态")
    private String srState;

    /** 销售单号 */
    @Excel(name = "销售单号")
    private String saleCode;

    /** 销售日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "销售日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date saleDate;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customer;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contacts;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 销售部门 */
    @Excel(name = "销售部门")
    private String saleDept;

    /** 销售负责人 */
    @Excel(name = "销售负责人")
    private String salePerson;

    /** 退货数量 */
    @Excel(name = "退货数量")
    private Integer rejectedNum;

    /** 退货金额 */
    @Excel(name = "退货金额")
    private BigDecimal rejectedMoney;

    /** 退货原因 */
    private String rejectedReason;

    /** 所在部门 */
    @Excel(name = "所在部门")
    private String createDept;

    /** 审核人 */
    @Excel(name = "审核人")
    private String reviewer;

    /** 审核原因 */
    private String reviewerReport;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reviewerTime;

    /** 逻辑删除 */
    private String isDel;

    /** $table.subTable.functionName信息 */
    private List<OdSaleRejectedDetails> odSaleRejectedDetailsList;

    public void setSrId(Integer srId) 
    {
        this.srId = srId;
    }

    public Integer getSrId() 
    {
        return srId;
    }
    public void setSrCode(String srCode) 
    {
        this.srCode = srCode;
    }

    public String getSrCode() 
    {
        return srCode;
    }
    public void setSrState(String srState) 
    {
        this.srState = srState;
    }

    public String getSrState() 
    {
        return srState;
    }
    public void setSaleCode(String saleCode) 
    {
        this.saleCode = saleCode;
    }

    public String getSaleCode() 
    {
        return saleCode;
    }
    public void setSaleDate(Date saleDate) 
    {
        this.saleDate = saleDate;
    }

    public Date getSaleDate() 
    {
        return saleDate;
    }
    public void setCustomer(String customer) 
    {
        this.customer = customer;
    }

    public String getCustomer() 
    {
        return customer;
    }
    public void setContacts(String contacts) 
    {
        this.contacts = contacts;
    }

    public String getContacts() 
    {
        return contacts;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setSaleDept(String saleDept) 
    {
        this.saleDept = saleDept;
    }

    public String getSaleDept() 
    {
        return saleDept;
    }
    public void setSalePerson(String salePerson) 
    {
        this.salePerson = salePerson;
    }

    public String getSalePerson() 
    {
        return salePerson;
    }
    public void setRejectedNum(Integer rejectedNum) 
    {
        this.rejectedNum = rejectedNum;
    }

    public Integer getRejectedNum() 
    {
        return rejectedNum;
    }
    public void setRejectedMoney(BigDecimal rejectedMoney) 
    {
        this.rejectedMoney = rejectedMoney;
    }

    public BigDecimal getRejectedMoney() 
    {
        return rejectedMoney;
    }
    public void setRejectedReason(String rejectedReason) 
    {
        this.rejectedReason = rejectedReason;
    }

    public String getRejectedReason() 
    {
        return rejectedReason;
    }
    public void setCreateDept(String createDept) 
    {
        this.createDept = createDept;
    }

    public String getCreateDept() 
    {
        return createDept;
    }
    public void setReviewer(String reviewer) 
    {
        this.reviewer = reviewer;
    }

    public String getReviewer() 
    {
        return reviewer;
    }
    public void setReviewerReport(String reviewerReport) 
    {
        this.reviewerReport = reviewerReport;
    }

    public String getReviewerReport() 
    {
        return reviewerReport;
    }
    public void setReviewerTime(Date reviewerTime) 
    {
        this.reviewerTime = reviewerTime;
    }

    public Date getReviewerTime() 
    {
        return reviewerTime;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }

    public List<OdSaleRejectedDetails> getOdSaleRejectedDetailsList()
    {
        return odSaleRejectedDetailsList;
    }

    public void setOdSaleRejectedDetailsList(List<OdSaleRejectedDetails> odSaleRejectedDetailsList)
    {
        this.odSaleRejectedDetailsList = odSaleRejectedDetailsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("srId", getSrId())
            .append("srCode", getSrCode())
            .append("srState", getSrState())
            .append("saleCode", getSaleCode())
            .append("saleDate", getSaleDate())
            .append("customer", getCustomer())
            .append("contacts", getContacts())
            .append("phone", getPhone())
            .append("saleDept", getSaleDept())
            .append("salePerson", getSalePerson())
            .append("rejectedNum", getRejectedNum())
            .append("rejectedMoney", getRejectedMoney())
            .append("rejectedReason", getRejectedReason())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createDept", getCreateDept())
            .append("createTime", getCreateTime())
            .append("reviewer", getReviewer())
            .append("reviewerReport", getReviewerReport())
            .append("reviewerTime", getReviewerTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDel", getIsDel())
            .append("odSaleRejectedDetailsList", getOdSaleRejectedDetailsList())
            .toString();
    }
}
